.app-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.search-wrapper {
  margin-bottom: 20px;
  display: flex;
  height: auto;
  overflow: hidden;
  :deep(.el-card__body) {
    padding-bottom: 2px;
  }
}

.flex-1 {
  flex: 1;
}

.toolbar-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.table-wrapper {
  margin-bottom: 20px;
}

.pager-wrapper {
  display: flex;
  justify-content: flex-end;
}

.custom-main-contents {
  display: flex;
  flex: 1;
}

.visit-left-contents {
  width: 100%;
  display: flex;
  flex: 1;
  height: 0;
  overflow: hidden;
  .card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    span {
      &:nth-child(1) {
        font-weight: 600;
        font-size: 14px;
      }
    }
  }
  :deep(.el-card) {
    max-width: 500px;
    min-width: 450px;
  }
  .visit-left-list {
    // 列表
    .arco-list-item {
      cursor: pointer;
      display: flex;
      width: 100%;
      border-bottom: 1px double #f6f6f6;
      padding: 10px;
      transition: all 300ms;
      &.active,
      &:hover {
        background-color: var(--el-color-primary);
      }
      dt {
        flex: 1;
        width: 0;
        word-break: break-all;
        text-overflow: ellipsis;
        display: -webkit-box;
        text-align: left;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* 超出几行省略 */
        overflow: hidden;
        p {
          &:first-child {
            display: flex;
            align-items: center;
          }
          cite {
            background-color: #eaf9f9;
            border-radius: 4px;
            color: #fff;
            padding: 2px 5px;
          }
          i {
            padding-left: 15px;
          }
        }
      }
      dd {
        padding-left: 15px;
        color: var(--el-card-padding);
      }
    }
  }
  .visit-right-contents {
    padding-left: 15px;
    flex: 1;
    :deep(.el-card) {
      max-width: 100%;
    }
    :deep(.el-scrollbar__view) {
      width: 100%;
    }
    .basic-info {
      width: 100%;
      padding: 15px;
      dt {
      }
      dd {
        display: flex;
        justify-content: space-around;
      }
    }
  }
}
